#include "Drawable.h"
namespace sl
{
	Drawable::Drawable(void)
	{
	}

	Drawable::~Drawable(void)
	{
		
	}

	void Drawable::AddParent( sl::Node * pParent )
	{
		m_vParentList.push_back( pParent );
	}
	
	void Drawable::RemoveParent( sl::Node * pParent )
	{
		ParentList::iterator parentit = std::find( m_vParentList.begin(), m_vParentList.end(), pParent );
		if ( parentit != m_vParentList.end() )
			m_vParentList.erase( parentit );
	}
	
}